import { PICK_APPLE, EAT_APPLE } from '@/actionTypes';

/**
 * 摘苹果
 */
export const pickApple = () => {
  return {
    type: PICK_APPLE,
  };
};

/**
 * 吃苹果
 */
export const eatApple = (index) => {
  return {
    type: EAT_APPLE,
    index,
  };
};
